package com.chinasofti.demoObject01;

public class TestStudent {
    public static void main(String[] args) {
        Student student = new Student();
        student.setName("1");
        student.setAge(18);
        Student student1 = new Student();
        student.setName("1");
        student.setAge(18);
        System.out.println(student.equals(student1));
    }
}
